package com.yunang.officialweb.mapper;

import com.yunang.officialweb.entity.News;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
//通过No查找相应的新闻
public interface NewsMapper {
    News getNews(int newsId);
    List<News> selectAll();
}
